package com.whmall.service.crm.module.companyusererrorcorrection.dao;

import com.whmall.service.crm.module.companyusererrorcorrection.entry.CompanyUserErrorCorrectionDO;
import com.whmall.service.crm.module.companyusererrorcorrection.entry.qo.CorrectionQO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author qiao shengda
 * @since 2021/5/27
 * @see {@link CompanyUserErrorCorrectionDO}
 */
@Mapper
public interface CompanyUserErrorCorrectionMapper {


    int insertSelective(CompanyUserErrorCorrectionDO record);

    CompanyUserErrorCorrectionDO selectById(Long id);

    int updateByIdSelective(CompanyUserErrorCorrectionDO record);

    List<CompanyUserErrorCorrectionDO> selectList(CorrectionQO correctionQO);

    List<CompanyUserErrorCorrectionDO> selectAllByUserId(Long userId);
}




